Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pipeline failures showing up as complete #1518

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Fix pipeline failures showing up as complete #1518

merged 1 commit into from
Oct 10, 2024

Conversation

cd-work
Copy link
Contributor

@cd-work cd-work commented Oct 10, 2024

This fixes an issue where packages would show up as passing Phylum's
analysis if they failed at any point of the pipeline.

Closes #351.


Depends on #1517.

@cd-work cd-work requested a review from a team as a code owner October 10, 2024 19:46
matt-phylum
matt-phylum previously approved these changes Oct 10, 2024
@cd-work cd-work self-assigned this Oct 10, 2024
maxrake
maxrake previously approved these changes Oct 10, 2024
Copy link
Contributor

@maxrake maxrake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed code and confirmed with local testing:

❯ phylum --version
phylum v7.1.1

❯ phylum package pypi phylum 888.888.888
⚠️  Thank you for submitting this package. Please check back later for results.

❯ phylum package pypi phylum 888.888.888

 Package Name:     phylum    Package Version:                  888.888.888
 License:         Unknown    Last updated:       1970-01-01T00:00:00+00:00
 Num Deps:              0    Num Vulns:                                  0
 Ecosystem:          pypi


 Risk Vectors:

    Total Risk:              100
    Author Risk:             100
    Engineering Risk:        100
    License Risk:            100
    Malicious Code Risk:     100
    Vulnerability Risk:      100


❯ target/debug/phylum --version
phylum v7.1.1-3-gd8b8889

❯ target/debug/phylum package pypi phylum 999.999.999
⚠️  Thank you for submitting this package. Please check back later for results.

❯ target/debug/phylum package pypi phylum 999.999.999
❗ Package analysis failed, please contact Phylum if this package exists.

This fixes an issue where packages would show up as passing Phylum's
analysis if they failed at any point of the pipeline.

Closes #351.
@cd-work cd-work dismissed stale reviews from maxrake and matt-phylum October 10, 2024 21:50

The merge-base changed after approval.

@cd-work cd-work requested a review from maxrake October 10, 2024 21:50
@cd-work cd-work enabled auto-merge (squash) October 10, 2024 21:50
@cd-work cd-work merged commit 8e52481 into main Oct 10, 2024
17 checks passed
@cd-work cd-work deleted the fix_package2 branch October 10, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

phylum package returns results for nonexistent packages
3 participants